﻿<?xml version="1.0" encoding="utf-8"?>
<root>

  <Types>

    <!-- java commom type-->

    <Type Name="null"/>
    <Type Name="void"/>

    <Type Name="char"/>
    <Type Name="int"/>
    <Type Name="byte"/>
    <Type Name="Double"/>
    <Type Name="boolean"/>
    


    <Type Name="char[]"/>
    <Type Name="int[]"/>
    <Type Name="byte[]"/>
    <Type Name="String[]"/>

    <Type Name="Object"/>
    <Type Name="CharSequence"/>
    <Type Name="Locale"/>
    <Type Name="StringBuffer"/>
    <Type Name="Set"/>
    <Type Name="Collection"/>
    <Type Name="Context"/>
    
    <Type Name="String">
      <Method Sign="charAt" param="int index" type="char" description="Returns the character at the specified index."/>
      <Method Sign="compareTo" param="Object o" type="int" description="Compares this String to another Object."/>
      <Method Sign="compareTo" param="String anotherString" type="int" description="Compares two strings lexicographically."/>
      <Method Sign="compareToIgnoreCase" param="String str" type="int" description="Compares two strings lexicographically, ignoring case differences."/>
      <Method Sign="concat" param="String str" type="String str" description="Concatenates the specified string to the end of this string."/>
      <Method Sign="contentEquals" param="StringBuffer sb" type="boolean" description="Returns true if and only if this String represents the same sequence of characters as the specified StringBuffer."/>
      <Method Sign="endsWith" param="String suffix" type="boolean" description="Tests if this string ends with the specified suffix."/>
      <Method Sign="equals" param="Object anObject" type="boolean" description="Compares this string to the specified object."/>
      <Method Sign="equalsIgnoreCase" param="String anotherString" type="boolean" description="Compares this String to another String, ignoring case considerations."/>
      <Method Sign="getBytes" param="" type="byte[]" description="Encodes this String into a sequence of bytes using the platform's default charset, storing the result into a new byte array."/>
      <Method Sign="getBytes" param="int srcBegin, int srcEnd, byte[] dst, int dstBegin" type="void" description="Deprecated. This method does not properly convert characters into bytes. As of JDK 1.1, the preferred way to do this is via the the getBytes() method, which uses the platform's default charset."/>
      <Method Sign="getBytes" param="String charsetName" type="byte[]" description="Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array."/>
      <Method Sign="getChars" param="int srcBegin, int srcEnd, char[] dst, int dstBegin" type="void" description="Copies characters from this string into the destination character array."/>
      <Method Sign="hashCode" param="" type="int" description="Returns a hash code for this string."/>
      <Method Sign="indexOf" param="int ch" type="int" description="Returns the index within this string of the first occurrence of the specified character."/>
      <Method Sign="indexOf" param="int ch, int fromIndex" type="int" description="Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index."/>
      <Method Sign="indexOf" param="String str" type="int" description="Returns the index within this string of the first occurrence of the specified substring."/>
      <Method Sign="indexOf" param="String str, int fromIndex" type="int" description="Returns the index within this string of the first occurrence of the specified substring, starting at the specified index."/>
      <Method Sign="intern" param="" type="String" description="Returns a canonical representation for the string object."/>
      <Method Sign="lastIndexOf" param="int ch" type="int" description="Returns the index within this string of the last occurrence of the specified character."/>
      <Method Sign="lastIndexOf" param="int ch, int fromIndex" type="int" description="Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index."/>
      <Method Sign="lastIndexOf" param="String str" type="int" description="Returns the index within this string of the rightmost occurrence of the specified substring."/>
      <Method Sign="lastIndexOf" param="String str, int fromIndex" type="int" description="Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index."/>
      <Method Sign="length" param="" type="int" description="Returns the length of this string."/>
      <Method Sign="matches" param="String regex" type="boolean" description="Tells whether or not this string matches the given regular expression."/>
      <Method Sign="regionMatches" param="boolean ignoreCase, int toffset, String other, int ooffset, int len" type="boolean" description="Tests if two string regions are equal."/>
      <Method Sign="regionMatches" param="int toffset, String other, int ooffset, int len" type="boolean" description="Tests if two string regions are equal."/>
      <Method Sign="replace" param="char oldChar, char newChar" type="String" description="Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar."/>
      <Method Sign="replaceAll" param="String regex, String replacement" type="String" description="Replaces each substring of this string that matches the given regular expression with the given replacement."/>
      <Method Sign="replaceFirst" param="String regex, String replacement" type="String" description="Replaces the first substring of this string that matches the given regular expression with the given replacement."/>
      <Method Sign="split" param="String regex" type="String[]" description="Splits this string around matches of the given regular expression."/>
      <Method Sign="split" param="String regex, int limit" type="String[]" description="Splits this string around matches of the given regular expression."/>
      <Method Sign="startsWith" param="String prefix" type="boolean" description="Tests if this string starts with the specified prefix."/>
      <Method Sign="startsWith" param="String prefix, int toffset" type="boolean" description="Tests if this string starts with the specified prefix beginning a specified index."/>
      <Method Sign="subSequence" param="int beginIndex, int endIndex" type="CharSequence" description="Returns a new character sequence that is a subsequence of this sequence."/>
      <Method Sign="substring" param="int beginIndex" type="String" description="Returns a new string that is a substring of this string."/>
      <Method Sign="substring" param="int beginIndex, int endIndex" type="String" description="Returns a new string that is a substring of this string."/>
      <Method Sign="toCharArray" param="" type="char[]" description="Converts this string to a new character array."/>
      <Method Sign="toLowerCase" param="" type="String" description="Converts all of the characters in this String to lower case using the rules of the default locale."/>
      <Method Sign="toLowerCase" param="Locale locale" type="String" description="Converts all of the characters in this String to lower case using the rules of the given Locale."/>
      <Method Sign="toString" param="" type="String" description="This object (which is already a string!) is itself returned."/>
      <Method Sign="toUpperCase" param="" type="String" description="Converts all of the characters in this String to upper case using the rules of the default locale."/>
      <Method Sign="toUpperCase" param="Locale locale" type="String" description="Converts all of the characters in this String to upper case using the rules of the given Locale."/>
      <Method Sign="trim" param="" type="String" description="Returns a copy of the string, with leading and trailing whitespace omitted."/>
    </Type>

    <Type Name="Map">
      <Method Sign="clear" param="" type="void" description="Removes all mappings from this map."/>
      <Method Sign="clone" param="" type="Object" description="Returns a shallow copy of this HashMap instance: the keys and values themselves are not cloned."/>
      <Method Sign="containsKey" param="Object key" type="boolean" description="Returns true if this map contains a mapping for the specified key."/>
      <Method Sign="containsValue" param="Object value" type="boolean" description="Returns true if this map maps one or more keys to the specified value."/>
      <Method Sign="entrySet" param="" type="Set" description="Returns a collection view of the mappings contained in this map."/>
      <Method Sign="get" param="Object key" type="Object" description="Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key."/>
      <Method Sign="isEmpty" param="" type="boolean" description="Returns true if this map contains no key-value mappings."/>
      <Method Sign="keySet" param="" type="Set" description="Returns a set view of the keys contained in this map."/>
      <Method Sign="put" param="Object key, Object value" type="Object" description="Associates the specified value with the specified key in this map."/>
      <Method Sign="putAll" param="Map m" type="void" description="Copies all of the mappings from the specified map to this map These mappings will replace any mappings that this map had for any of the keys currently in the specified map."/>
      <Method Sign="remove" param="Object key" type="Object" description="Removes the mapping for this key from this map if present."/>
      <Method Sign="size" param="" type="int" description="Returns the number of key-value mappings in this map."/>
      <Method Sign="values" param="" type="Collection" description="Returns a collection view of the values contained in this map."/>
    </Type>

    <Type Name="List">
      <Method Sign="add" param="int index, Object element" type="void" description="Inserts the specified element at the specified position in this list."/>
      <Method Sign="add" param="Object o" type="boolean" description="Appends the specified element to the end of this list."/>
      <Method Sign="addAll" param="Collection c" type="boolean" description="Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator."/>
      <Method Sign="addAll" param="int index, Collection c" type="boolean" description="Inserts all of the elements in the specified Collection into this list, starting at the specified position."/>
      <Method Sign="clear" param="" type="void" description="Removes all of the elements from this list."/>
      <Method Sign="clone" param="" type="Object" description="Returns a shallow copy of this ArrayList instance."/>
      <Method Sign="contains" param="Object elem" type="boolean" description="Returns true if this list contains the specified element."/>
      <Method Sign="ensureCapacity" param="int minCapacity" type="void" description="Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument."/>
      <Method Sign="get" param="int index" type="Object" description="Returns the element at the specified position in this list."/>
      <Method Sign="indexOf" param="Object elem" type="int" description="Searches for the first occurence of the given argument, testing for equality using the equals method."/>
      <Method Sign="isEmpty" param="" type="boolean" description="Tests if this list has no elements."/>
      <Method Sign="lastIndexOf" param="Object elem" type="int" description="Returns the index of the last occurrence of the specified object in this list."/>
      <Method Sign="remove" param="int index" type="Object" description="Removes the element at the specified position in this list."/>
      <Method Sign="set" param="int index, Object element" type="Object" description="Replaces the element at the specified position in this list with the specified element."/>
      <Method Sign="size" param="" type="int" description="Returns the number of elements in this list."/>
      <Method Sign="toArray" param="" type="Object[]" description="Returns an array containing all of the elements in this list in the correct order."/>
      <Method Sign="toArray" param="Object[] a" type="Object[]" description="Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array."/>
      <Method Sign="trimToSize" param="" type="void" description="Trims the capacity of this ArrayList instance to be the list's current size."/>
    </Type>
    

    <!-- java commom type-->
    
    <Type Name="Tuser">
      <Property Name="user_id" type="void"/>
      <Property Name="user_name" type="void"/>
      <Property Name="user_loginname" type="void"/>
      <Property Name="user_password" type="void"/>
      <Property Name="user_telephone" type="void"/>
      <Property Name="user_pincode" type="void"/>
      <Property Name="user_tele_type" type="void"/>
      <Property Name="unit_id" type="void"/>
    </Type>

    <Type Name="Tunit">
      <Property Name="unit_id" type="void"/>
      <Property Name="unit_name" type="void"/>
      <Property Name="unit_desc" type="void"/>
      <Property Name="unit_code" type="void"/>
      <Property Name="appsystem_id" type="void"/>
    </Type>

    <Type Name="Tfunc">
      <Property Name="function_id" type="void"/>
      <Property Name="app_id" type="void"/>
      <Property Name="function_name" type="void"/>
      <Property Name="function_desc" type="void"/>
      <Property Name="function_code" type="void"/>
    </Type>

    <Type Name="Tapp">
      <Property Name="app_id" type="void"/>
      <Property Name="app_name" type="void"/>
      <Property Name="app_desc" type="void"/>
      <Property Name="app_code" type="void"/>
      <Property Name="app_father_id" type="void"/>
    </Type>

    <Type Name="Tevent">
      <Property Name="envEvent" type="TenvEvent"/>
      <Property Name="wsEvent" type="TwsEvent"/>
      <Property Name="dbEvent" type="TdbEvent"/>
      <Property Name="bsEvent" type="TbsEvent"/>
      <Property Name="timerEvent" type="TtimerEvent"/>
      <Property Name="mailEvent" type="TmailEvent"/>
      <Property Name="smsEvent" type="TsmsEvent"/>
      <Property Name="localDataEvent" type="TlocalDataEvent"/>
      <Property Name="localMailEvent" type="TlocalMailEvent"/>
      <Property Name="customEvent" type="TcustomEvent"/>
    </Type>

    <!-- EVENT Property Types -->
    
    <Type Name="TenvEvent">
      <Method Sign="getNewVersion" param="Context context" type="SoftVersion"/>
      <Method Sign="changePassword" param="String oldPassword, String newPassword, Context context" type="String"/>
	<Method Sign="changePassword" param="String oldPassword" type="Tapp"/>
      <Method Sign="htmlToText" param="String src" type="String"/>
      <Method Sign="base64Encode" param="String src" type="String"/>
      <Method Sign="base64Decode" param="String src" type="String"/>
      <Method Sign="URLEncoder" param="String str,String enc" type="String"/>
      <Method Sign="toArray" param="String str,String regex" type="String[]"/>
      <Method Sign="escapeXMLEntity" param="String str" type="String"/>
      <Method Sign="replaceXmlEntity" param="String str" type="String"/>
      <Method Sign="StringToInteger" param="String str" type="int"/>
      <Method Sign="getArrayIndex" param="String[] str, int index" type="String"/>
      <Method Sign="getMap" param="" type="Map"/>
      <Method Sign="patternStr" param="String expression,String str" type="List"/>
      <Method Sign="getContextPath" param="" type="String"/>
      <Method Sign="arrayToList" param="String[] array" type="List"/>
      <Method Sign="get19DateString" param="String format" type="String"/>
      <Method Sign="velocityStr" param="String str,Context context" type="String"/>
      <Method Sign="getDateFormaString" param="String format,String dateflag,int offset" type="String"/>
      <Method Sign="logger" param="String info" type="void"/>
      <Method Sign="validFileName" param="String fileName" type="String"/>
    </Type>

    <Type Name="SoftVersion">
      <Property Name="version_name" type="void"/>
      <Property Name="version_num" type="void"/>
      <Property Name="version_publish_date" type="void"/>
      <Property Name="version_publish_status" type="void"/>
      <Property Name="attachs" type="Map"/>
    </Type>

    <Type Name="TwsEvent">
      <Method Sign="getXfireWsData" param="String funcTemplate, String webService_url, Context contextd" type="String"/>
      <Method Sign="getAxisWsData" param="String funcTemplate, String webService_url, Context contextd" type="String"/>
    </Type>

    <Type Name="TdbEvent">
      <Method Sign="getResult" param="String dataSourceName, String sql, String params" type="List"/>
      <Method Sign="getResult" param="DBConnection conn, String sql, String params" type="List"/>
      <Method Sign="executeUpdate" param="String dataSourceName, String sql, String params" type="void"/>
      <Method Sign="executeUpdate" param="DBConnection conn, String sql, String params" type="void"/>
      <Method Sign="executeInsert" param="String dataSourceName, String sql, String params" type="int"/>
      <Method Sign="getConnection" param="String dataSourceName" type="DBConnection"/>
    </Type>

    <Type Name="DBConnection"/>

    <Type Name="TbsEvent">
      <Method Sign="getSession" param="String method, String postPara, String requestUrl, String xslTemplate, Context context" type="Map" description="中文测试"/>
      <Method Sign="getAuthenticationCode" param="String method, String postPara, String requestUrl, Context context" type="Map"/>
      <Method Sign="getData" param="String method, String postPara, String requesturl, String xslTemplate, Context context" type="Map"/>
      <Method Sign="getDataNext" param="String method, Map postPara, String requesturl, String xslTemplate, Context context" type="Map"/>
      <Method Sign="getDataXhtml" param="String method, String postPara, String requesturl, Context context" type="String"/>
      <Method Sign="multipartRequestMap" param="String method, String postPara,String requesturl,String xslTemplate, Context context" type="Map"/>
      <Method Sign="multipartRequest" param="String method, String postPara, Map memoMap,String requesturl,String xslTemplate, Context context" type="Map"/>
      <Method Sign="multipartRequestHtml" param="String method, String postPara, String requesturl, Context context" type="String"/>
      <Method Sign="getResponseHtml" param="String method, String postPara, String requesturl, Context context" type="String"/>
      <Method Sign="getXhtmlRequetsXml" param="Map headerMap,Map postPara, String requesturl,String bodyTemplate, Context context" type="String"/>
      <Method Sign="posString" param="String method,String httpHeader,String requesturl,String body, Context context" type="String"/>
      <Method Sign="posString" param="String method,Map headerMap,String requesturl,String body, Context context" type="String"/>
      <Method Sign="pickMapByHtml" param="String html,String xslTemplate, Context context" type="Map"/>
      <Method Sign="htmlToXhtml" param="String html, Context context" type="String"/>
      <Method Sign="pickMapByXml" param="String xhtml,String xslTemplate, Context context" type="Map"/>
      <Method Sign="addServiceData" param="String key, ServiceData value" type="void"/>
      <Method Sign="pickStringByXhtml" param="String xhtml,String xslTemplate" type="String"/>
      <Method Sign="addFieldsMap" param="String[] temp,String postPara,Context context" type="String"/>
      <Method Sign="getPostMap" param="String postPara, Context context" type="Map"/>
      <Method Sign="getPostMap" param="String postPara,Map pmap, Context context" type="Map"/>
      <Method Sign="addUserData" param="String key, Object value, Context context" type="String"/>
      <Method Sign="getUserData" param="String appCode, String key, Context context" type="Map"/>
      <Method Sign="getUserDataObject" param="String appCode, Context context" type="Map"/>
      <Method Sign="getCurData" param="String src" type="Map"/>
      <Method Sign="clearServiceDataMap" param="" type="void"/>
    </Type>

    <Type Name="TtimerEvent">
      <Method Sign="parseData" param="String responseXml, Context context" type="void"/>
      <Method Sign="DataSave" param="String responseXml, Context context" type="void"/>
    </Type>

    <Type Name="TmailEvent">
      <Method Sign="getNewCount" param="MailInfo mailInfo" type="int"/>
      <Method Sign="receiveAndSave" param="Context context" type="void"/>
      <Method Sign="send" param="Context context" type="void"/>
      <Method Sign="sendUserMail" param="Context context" type="void"/>
      <Method Sign="getMailMessage" param="Context context" type="MailMessage"/>
    </Type>

    <Type Name="MailMessage">
      <Property Name="mail_id" type="void"/>
      <Property Name="subject" type="void"/>
      <Property Name="sender" type="void"/>
      <Property Name="message_to" type="void"/>
      <Property Name="message_cc" type="void"/>
      <Property Name="message_bcc" type="void"/>
      <Property Name="message_body" type="void"/>
      <Property Name="message_senddate" type="void"/>
      <Property Name="message_receivedate" type="void"/>
      <Property Name="message_size" type="void"/>
      <Property Name="message_id" type="void"/>
      <Property Name="attachs" type="Map"/>
      <Method Sign="setMail_id" param="" type="void"/>
      <Method Sign="setSubject" param="" type="void"/>
      <Method Sign="setSender" param="" type="void"/>
      <Method Sign="setMessage_to" param="" type="void"/>
      <Method Sign="setMessage_cc" param="" type="void"/>
      <Method Sign="setMessage_bcc" param="" type="void"/>
      <Method Sign="setMessage_body" param="" type="void"/>
      <Method Sign="setMessage_senddate" param="" type="void"/>
      <Method Sign="setMessage_receivedate" param="" type="void"/>
      <Method Sign="setMessage_size" param="" type="void"/>
      <Method Sign="setMessage_id" param="" type="void"/>
      <Method Sign="setAttachs" param="" type="void"/>
    </Type>

    <Type Name="TsmsEvent">
      <Method Sign="sendSMS" param="String msg, String cellNum" type="void"/>
      <Method Sign="sendUserSMS" param="String content, Context context" type="void"/>
      <Method Sign="sendUserAppSMS" param="String content, Context context" type="void"/>
      <Method Sign="sendOrPushAppUserNameSMS" param="String content, String appusername, Context context" type="void"/>
      <Method Sign="sendAppUserNameSMS" param="String content, String appusername, Context context" type="void"/>
      <Method Sign="sendUnitSMS" param="String content, Context context" type="void"/>
      <Method Sign="sendUnitAppSMS" param="String content, Context context" type="void"/>
      <Method Sign="sendAllUserSMS" param="String content" type="void"/>
    </Type>

    <Type Name="TlocalDataEvent">
      <Method Sign="getData" param="String condition, Context context" type="void"/>
      <Method Sign="deleteData" param="String recordId" type="void"/>
    </Type>

    <Type Name="TlocalMailEvent">
      <Method Sign="getData" param="String domain, String condition, String status, Context context" type="void"/>
      <Method Sign="getMailsTitle" param="String condition, String status, Context context" type="void"/>
      <Method Sign="getMailsDetail" param="String condition, String status, Context context" type="void"/>
      <Method Sign="modifyMailStatus" param="List mails, String status" type="void"/>
      <Method Sign="deleteMails" param="List mails" type="void"/>
    </Type>

    <Type Name="TcustomEvent">
      <Method Sign="getCustomHandler" param="String customClass, Object base" type="Object"/>
    </Type>
    
  </Types>


  <Variables>
    <Variable Name="RequestCode" type="void"/>
    <Variable Name="RequestUnitCode" type="void"/>
    <Variable Name="RequestUserLoginName" type="void"/>
    <Variable Name="RequestUserPassword" type="void"/>
    <Variable Name="RequestAuthString" type="void"/>
    <Variable Name="wmultiple" type="Double"/>
    <Variable Name="hmultiple" type="Double"/>
    <Variable Name="ClientSysType" type="void"/>
    <Variable Name="RequestData" type="void"/>
    <Variable Name="Req_DataHead" type="Map"/>
    <Variable Name="Req_Fields" type="Map"/>
    <Variable Name="url_prefix" type="Map"/>
    <Variable Name="user" type="TUser"/>
    <Variable Name="unit" type="TUnit"/>
    <Variable Name="func" type="Tfunc"/>
    <Variable Name="app" type="Tapp"/>
    <Variable Name="funcprof" type="Map"/>
    <Variable Name="appprof" type="Map"/>
    <Variable Name="userappprof" type="Map"/>
    <Variable Name="unitprof" type="Map"/>
    <Variable Name="CONTEXT" type="Context"/>
    <Variable Name="Session" type="void"/>
    <Variable Name="BS_SESSION_TIME_OUT_XSL" type="void"/>
    <Variable Name="EVENT" type="Tevent"/>
  </Variables>

</root>